<template>
  <div class="banner">
    <div class="text">
      <h4>邀请好友得分红奖励，多邀多得</h4>
      <p>
        邀请好友扫描二维码，TA可获得首单专属优惠，你可获得订单实付金额的<span>5%-10%</span>作为奖励
      </p>
    </div>

    <div class="imgs">
      <img
        class="yx"
        src="https://yanxuan.nosdn.127.net/533a50a23e50e94953f4528687de143c.png"
        alt=""
      />
      <img
        class="ewm"
        src="https://yanxuan.nosdn.127.net/2338d5eafe79c2933d76829f2f76c430.png?imageView&type=webp"
        alt=""
      />
      <p>购物后可获得邀请资格</p>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
.banner {
  height: 100%;
  background: #eee;
}
.yx {
  width: 10.2rem;
  height: 2.73rem;
}
span {
  color: red;
}
.ewm {
  width: 14.2rem;
}
.imgs {
  width: 18.5rem;
  height: 22.375rem;
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  margin-left: 2.4375rem;
  text-align: center;
  position: relative;
  background: #fff;
}
.text {
  text-align: center;
  line-height: 2.6875rem;
}
.imgs p {
  position: absolute;
  top: 50%;
}
</style>